﻿using System;
using System.Collections.Generic;
using System.Text;

    public class RoleVo:SceneObject
    {
        public RoleVo(Point ID, uint type, uint modelId):base(ID,type,modelId)
        {
        }
        public RoleVo(Point ID):this(ID,0,0)
        {
        }

        /// <summary>
        /// 获取玩家种族
        /// </summary>
        public int getPlayNation()
		{
			return (int)GetPropertiesEx("Nation");
		}

        /// <summary>
        /// 获得玩家等级
        /// </summary>
        public int getPlayerLevel()
		{
			return (int)GetPropertiesEx("Level");
		}

    }
